package com.xyht.sca_s.student_manage_system.modules.assetFixedDeal.entity.Resp;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xyht.sca_s.student_manage_system.modules.user.entity.resp.SmsSearchUserResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 资产处置申请表
 * </p>
 *
 * @author XYHT
 * @since 2024-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_fixed_deal_apply")
@ApiModel(value="SmsAssetFixedDealApply对象", description="资产处置申请表")
public class SmsAssetFixedDealApplyResp implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "申请人id")
    private String applyUserId;

    private SmsSearchUserResp applyUserInfo;

    @ApiModelProperty(value = "审批人id")
    private String allowUserId;

    private SmsSearchUserResp allowUserInfo;

    @ApiModelProperty(value = "申请备注")
    private String applyRemark;

    @ApiModelProperty(value = "审批状态：0审批中，1：通过，2：驳回，3：撤回")
    private Integer allowStatus;

    @ApiModelProperty(value = "申请结束时间")
    private Date endTime;

    @ApiModelProperty(value = "处置类型：1、出售  2、报损 3、报废  4、无偿调拨  5、股权划转  6、有偿转让  7、置换  8、其他")
    private Integer dealType;

    @ApiModelProperty(value = "流程节点id")
    private String detailId;

    @ApiModelProperty(value = "审批状态：0：审批中  1：通过   2：驳回   3：撤回结束  4：驳回结束")
    private Integer processDetailStatus;

    @ApiModelProperty(value = "审批备注")
    private String processDetailRemark;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "资产入库时间")
    private Date createTime;

    List<SmsAssetFixedDealGoodsResp> goodsList;

    List<SmsAssetFixedDealProcessDetailResp> processList;


}
